package edu.ustb.sql.sleuth.service;

import edu.ustb.sql.sleuth.entity.ZipkinSpans;

import java.util.List;

/**
 * @author ShiZhe
 * @create 2020-10-17 19:35
 */
public interface ZipkinSpansService {
//    List<ZipkinSpans> findByTrace_id(Long trace_id);
    /**
     * 根据id查询
     */
    ZipkinSpans findById(Long trace_id);
    /**
     * 保存
     */
    void save(ZipkinSpans zipkinSpans);
    /**
     * 更新
     */
    void update(ZipkinSpans zipkinSpans);
    /**
     * 删除
     */
    void delete(Long trace_id);
}
